Skip to content

fix(ui): lay out the form field groups with the shared field grid - #1302

Merged
TheMeinerLP merged 1 commit into
mainfrom
fix-6-8
Nov 23, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
fix-6-8

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

Part of task 6.8 of migrate-content-to-components. Several forms wrote their own two column grid for their fields, each a little different from the shared one. The LDAP panel, the SSO provider dialog and the member credential form now lay their fields out with the shared field grid, so a form reads the same everywhere. As a visible effect the second column starts at the expanded window class (840 px) instead of the medium one (600 px).

Not in this PR: fieldsets (CreateTokenDialog, PolicyDialog, SearchFilters) and save bars (AuthenticationGroupForm, LdapPanel, UnsavedChangesBar, SettingsView offset). They are left for follow-up PRs so this one stays small and revertable.

Type of change

  • fix - bug fix

How was this tested?

  • New tests in LdapPanel.test.ts and SsoProviderDialog.card.test.ts, run red before the change and green after.
  • RepositoryMembersPicker.test.ts updated to expect the expanded window class.
  • vitest on src/components/access, RepositoryMembersPicker, src/anchors and src/style-gate: 1333 passed.
  • npm run eslint clean, npm run typecheck clean.

Checklist

  • Commit messages follow the Conventional Commits convention
  • Tests cover the change
  • ./gradlew build passes locally (frontend only change, not run)
  • Documentation and configuration samples are updated if the change is user-facing (none needed)
  • Existing copyright headers are preserved; new files carry the appropriate header
  • No credentials, tokens or personal data are included in the diff

LdapPanel, SsoProviderDialog and the member credential form each wrote
their own two column grid, keyed to the medium window class. They now
use MdFieldGrid, so the columns follow the shared rule (two columns
from the expanded window class).

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP TheMeinerLP added the ci:e2e Run the dashboard end-to-end tests label Nov 23, 2026
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 26d9d91 Nov 23, 2026
54 checks passed
@TheMeinerLP
TheMeinerLP deleted the fix-6-8 branch November 23, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:e2e Run the dashboard end-to-end tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant